package edu.stu.cs.software.family.warehouse.web.spring.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import edu.stu.cs.software.family.base.web.spring.controller.GenericController;
import edu.stu.cs.software.family.warehouse.domain.Category;
import edu.stu.cs.software.family.warehouse.service.CategoryManager;

@RestController
@RequestMapping(value = "/category")
public class CategoryController extends GenericController<Category, Long,CategoryManager> {
	
	CategoryManager categoryManager;

	@Autowired
	public void setCategoryManager(CategoryManager categoryManager) {
		this.categoryManager = categoryManager;
		this.manager = this.categoryManager;
	}
	
	
}
